package com.ktjy.ktmall.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ktjy.ktmall.domain.WxUser;
import com.ktjy.ktmall.mapper.WxUserMapper;
import com.ktjy.ktmall.service.IWxUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 微信小程序端的会员Service业务层处理
 *
 * @author ktjy
 * @date 2025-01-13
 */
@Service
public class WxUserServiceImpl extends ServiceImpl<WxUserMapper, WxUser>
        implements IWxUserService {
    @Autowired
    private WxUserMapper wxUserMapper;

    /**
     * 查询微信小程序端的会员列表
     *
     * @param wxUser 微信小程序端的会员
     * @return 微信小程序端的会员
     */
    @Override
    public List<WxUser> selectWxUserList(WxUser wxUser) {
        return wxUserMapper.selectWxUserList(wxUser);
    }
}